from django.core.cache import cache
from django.contrib.auth.forms import UserCreationForm
from django.views.generic.simple import direct_to_template
from django.http import HttpResponseRedirect
from django.views.generic.simple import direct_to_template
from algos.models import AlgosSection

def index(request):
    title_page = 'Sobre el grup'
    return direct_to_template(request, 'algos/index.html', {'title_page' : title_page} )


def quisom(request):
    title_page = 'Qui som'
    return direct_to_template(request, 'algos/quisom.html', {'title_page' : title_page} )

def contactar(request):
    title_page = 'Contactar'
    return direct_to_template(request, 'algos/contactar.html', {'title_page' : title_page} )